#coding:utf-8
#!/usr/bin/env python
from mutagen.mp3 inport MP3
import os
from os.path import join, getsize, exists
import sys
import apsw

def MakeDataBase():
    pass

def S2HMS(t):
    pass

def WalkThePath(musicpath):
    pass

def error(message):
    #pass
    print >> sys.stderr, str(message


def main():
    pass

def usage():
    message = (
            '===========================================\n'
            'mCat - Finds all *.mp3 files in a given folder (and sub-folders),\n'
            '\tread the id3 tags, and write that information to a SQLiter database.\n\n'
            '\Usage:\n'
            '\t{0} <foldername>\n' 
            '\t WHERE <foldername> is the path to your MP3 files.\n\n'
            'Author:Wyatt.Wang \n'
            'For Full Circle Magazine\n'
            '===========================================\n'
            ).format(sys.argv[0])
    error(message)
    sys.exit(1)
            
if __name__ == '__main__':
    main()

